package com.ruoyi.tdqq.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Collection;
import java.util.Date;

/**
 * 农户信息对象 tdqq_nh
 * 
 * @author zlx
 * @date 2025-09-09
 */
public class TdqqNh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农户ID */
    private Long nhId;

    /** 农户代码 */
    @Excel(name = "农户代码")
    private String nhdm;

    /** 户主姓名 */
    @Excel(name = "户主姓名")
    private String hzxm;

    /** 是否户主 */
    @Excel(name = "是否户主")
    private String sfhz;

    /** 是否集体经济组织成员 */
    @Excel(name = "是否集体经济组织成员")
    private String sfzzcy;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String zjlx;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String zjhm;

    /** 性别 */
    @Excel(name = "性别")
    private String xb;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String jtdz;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String lxfs;

    /** 通讯地址 */
    @Excel(name = "通讯地址")
    private String txdz;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long deptId;

    private String deptName;

    private Collection deptIds;

    /** 家庭人口 */
    @Excel(name = "家庭人口")
    private Long jtrk;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String yzbm;

    /** 调查日期 */
    @Excel(name = "调查日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dcrq;


    /** 调查员 */
    @Excel(name = "调查员")
    private String dcy;

    /** 调查记事 */
    @Excel(name = "调查记事")
    private String dcjs;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    /** 户口簿号码 */
    @Excel(name = "户口簿号码")
    private String hkbh;

    /** 资格权状态 */
    @Excel(name = "资格权状态")
    private String zgqzt;

    /** 是否拥有宅基地 */
    @Excel(name = "是否拥有宅基地")
    private String sfyyzjd;

    /** 农户状态（0正常 1停用） */
    @Excel(name = "农户状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setNhId(Long nhId) 
    {
        this.nhId = nhId;
    }

    public Long getNhId() 
    {
        return nhId;
    }

    public void setNhdm(String nhdm) 
    {
        this.nhdm = nhdm;
    }

    public String getNhdm() 
    {
        return nhdm;
    }

    public void setHzxm(String hzxm) 
    {
        this.hzxm = hzxm;
    }

    public String getHzxm() 
    {
        return hzxm;
    }

    public void setSfhz(String sfhz) 
    {
        this.sfhz = sfhz;
    }

    public String getSfhz() 
    {
        return sfhz;
    }

    public void setSfzzcy(String sfzzcy) 
    {
        this.sfzzcy = sfzzcy;
    }

    public String getSfzzcy() 
    {
        return sfzzcy;
    }

    public void setZjlx(String zjlx) 
    {
        this.zjlx = zjlx;
    }

    public String getZjlx() 
    {
        return zjlx;
    }

    public void setZjhm(String zjhm) 
    {
        this.zjhm = zjhm;
    }

    public String getZjhm() 
    {
        return zjhm;
    }

    public void setXb(String xb) 
    {
        this.xb = xb;
    }

    public String getXb() 
    {
        return xb;
    }

    public void setJtdz(String jtdz) 
    {
        this.jtdz = jtdz;
    }

    public String getJtdz() 
    {
        return jtdz;
    }

    public void setLxfs(String lxfs) 
    {
        this.lxfs = lxfs;
    }

    public String getLxfs() 
    {
        return lxfs;
    }

    public void setTxdz(String txdz) 
    {
        this.txdz = txdz;
    }

    public String getTxdz() 
    {
        return txdz;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setJtrk(Long jtrk) 
    {
        this.jtrk = jtrk;
    }

    public Long getJtrk() 
    {
        return jtrk;
    }

    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    public void setHkbh(String hkbh) 
    {
        this.hkbh = hkbh;
    }

    public String getHkbh() 
    {
        return hkbh;
    }

    public void setZgqzt(String zgqzt) 
    {
        this.zgqzt = zgqzt;
    }

    public String getZgqzt() 
    {
        return zgqzt;
    }

    public void setSfyyzjd(String sfyyzjd) 
    {
        this.sfyyzjd = sfyyzjd;
    }

    public String getSfyyzjd() 
    {
        return sfyyzjd;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getYzbm() {
        return yzbm;
    }

    public void setYzbm(String yzbm) {
        this.yzbm = yzbm;
    }

    public Date getDcrq() {
        return dcrq;
    }

    public void setDcrq(Date dcrq) {
        this.dcrq = dcrq;
    }

    public String getDcy() {
        return dcy;
    }

    public void setDcy(String dcy) {
        this.dcy = dcy;
    }

    public String getDcjs() {
        return dcjs;
    }

    public void setDcjs(String dcjs) {
        this.dcjs = dcjs;
    }

    public Collection getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(Collection deptIds) {
        this.deptIds = deptIds;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nhId", getNhId())
            .append("nhdm", getNhdm())
            .append("hzxm", getHzxm())
            .append("sfhz", getSfhz())
            .append("sfzzcy", getSfzzcy())
            .append("zjlx", getZjlx())
            .append("zjhm", getZjhm())
            .append("xb", getXb())
            .append("jtdz", getJtdz())
            .append("lxfs", getLxfs())
            .append("txdz", getTxdz())
            .append("deptId", getDeptId())
            .append("jtrk", getJtrk())
            .append("yzbm", getYzbm())
            .append("dcrq", getDcrq())
            .append("dcy", getDcy())
            .append("dcjs", getDcjs())
            .append("bz", getBz())
            .append("hkbh", getHkbh())
            .append("zgqzt", getZgqzt())
            .append("sfyyzjd", getSfyyzjd())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
